package com.luo.service.impl;

import com.luo.pojo.Class;
import com.luo.pojo.Gender;
import com.luo.pojo.Student;
import com.luo.mapper.StudentMapper;
import com.luo.service.IStudentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 学生信息表 服务实现类
 * </p>
 *
 * @author luo
 * @since 2025-06-22
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {

    @Override
    public Integer AvgAge() {
        return baseMapper.AvgAge();
    }

    @Override
    public List<Class> CheckTheClassSize() {
        return baseMapper.CheckTheClassSize();
    }

    @Override
    public List<Gender> CountBySex() {
        return baseMapper.CountBySex();
    }
}
